package com.gupao.practice.data20200223;

/**
 * 海外支付
 *
 * @author ZhenZhong
 * @date 2020/2/24
 */
public class OverseasFactoryImpl extends AbstractPaymentFactory implements PaymentFactory {

    private OverseasFactoryImpl() {
    }

    @Override
    protected String getConfigFile() {
        return "overseas-payment.txt";
    }

    public static final PaymentFactory getInstance() {
        return Instance.FACTORY;
    }


    private static class Instance {
        private static final PaymentFactory FACTORY = new OverseasFactoryImpl();
    }

}
